<template>
	<view>
		<swiper :indicator-dots="true" :autoplay="true" :interval="3000" :duration="1000">
			<swiper-item>
				<image src="../../static/logo.png" mode=""></image>
			</swiper-item>
			<swiper-item>
				<image src="../../static/logo.png" mode=""></image>
			</swiper-item>
			<swiper-item>
				<image src="../../static/logo.png" mode=""></image>
			</swiper-item>
		</swiper>
		<view class="info">
			<text class="title">标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题标题</text>
			<view class="flex-r">
				<text class="price">￥16.35</text>
				<text class="line">1563</text>
			</view>
		</view>
		<text class="header">商品详情</text>
		<view class="content">
			<u-parse :content="article"/>
		</view>
	</view>
</template>

<script>
	import uParse from '@/components/gaoyia-parse/parse.vue'
	export default {
		components: {
			uParse
		},
		data() {
			return {
				article:'<p>sss<p><h1>2222222</h1>'
			}
		},
		methods: {

		},
		onShareAppMessage() {
			
		}
	}
</script>

<style>
	@import url("../../components/gaoyia-parse/parse.css");
	page {
		background: #f4f4f4;
	}

	swiper {
		width: 750rpx;
		height: 750rpx;
	}

	swiper image {
		width: 750rpx;
		height: 750rpx;
	}

	.info {
		background: #fff;
		padding: 20rpx;
	}

	.title {
		font-size: 32rpx;
		color: #000;
		letter-spacing: 2rpx;
		margin-bottom: 10rpx;
	}

	.price {
		font-size: 38rpx;
		color: #DD524D;
		margin-right: 10rpx;
	}

	.line {
		text-decoration: line-through;
		color: #C0C0C0;
	}

	.header {
		background: #fff;
		height: 60rpx;
		margin-top: 20rpx;
		line-height: 60rpx;
		padding-left: 20rpx;
		border-bottom: 1rpx solid #f2f2f2;
	}
	.content{
		background:#fff;
	}
</style>
